package com.dupf.upms.rpc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 服务启动类
 * Created by dupf on 2018/3/1.
 */
public class DupfUpmsRpcServiceApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(DupfUpmsRpcServiceApplication.class);

    public static void main(String[] args) {
        LOGGER.info(">>>>> dupf-upms-rpc-service 正在启动 <<<<<");
        System.setProperty("GOOGLE_API_KEY", "AIzaSyCg6Wcy84YrUd3dbwd-2f_XMdBsFzjs6Hg");
        new ClassPathXmlApplicationContext("classpath:spring/*.xml");
        LOGGER.info(">>>>> dupf-upms-rpc-service 启动完成 <<<<<");
    }

}
